package util;

import java.io.IOException;

import org.apache.ibatis.session.SqlSession;

import MybatisUtil.utils;
import entity.User;

public class testutil {

	public static void main(String[] args) throws IOException {
		SqlSession session=utils.getSession();
		User user=session.selectOne("entity.UserMapper.selectUser",1);
		System.out.println("id="+user.getId()+"name="+user.getName());
		session.close();
	}

}
